package com.xiubai.appforpda.entity;

/**
 * @author: r3562939
 * @version: V1.0
 * @project: AppForPda
 * @description: 组织人员的类
 * @date: 2018/11/18
 * @time: 15:17
 */
public class SQLOrgPersonBean {
    // 部门编码
    public String deptcode;
    // 人员编码
    public String psncode;
    // 人员名称
    public String psnname;
    // 工号
    public String psncard;


    @Override
    public boolean equals(Object obj) {
        if (obj instanceof SQLOrgPersonBean) {
            SQLOrgPersonBean bean = (SQLOrgPersonBean) obj;
            return psncode.equalsIgnoreCase(bean.psncode);
        }
        return false;
    }
}
